<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table width="600px">
    <tr>
        <th>书名</th>
        <th>作者</th>
        <th>出版社</th>
        <th>类型</th>
    </tr>
    {% for book in books %}
        <tr align="center"height="30px">
            <td>{{book.book_name}}</td>
            <td>{{book.author}}</td>
            <td>{{book.public}}</td>
            <td>{{book.book_type}}</td>
        </tr>
    {% endfor %}
</table>
</body>
</html>